fix(ci): replace private actions with inline equivalents, add failure notifications#149
Merged
Conversation
01a8ce4 to
4f1ca51
Compare
nastassiafulconis
approved these changes
Apr 14, 2026
4f1ca51 to
d3bf6b6
Compare
The scope3data/actions repo is private but agentic-client is public. GitHub blocks public repos from using actions in private repos, causing "Unable to resolve action" failures in drift-detection and regenerate-schemas workflows. Replace scope3data/actions/node/install with actions/setup-node + npm ci. Replace scope3data/actions/slack/post with inline jq + curl to Slack API.
…ations Extract duplicated Slack posting logic into a local composite action at .github/actions/slack-post. Add failure notification steps to drift-detection, regenerate-schemas, and release workflows so failures are no longer silent.
d3bf6b6 to
a912f0f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scope3data/actionsis a private repo, butagentic-clientis public — GitHub blocks public repos from using actions defined in private repos, causing "Unable to resolve action" failures in drift-detection and regenerate-schemas workflowsscope3data/actions/node/installwithactions/setup-node@v6+npm ciin both workflowsscope3data/actions/slack/postwith a new local composite action at.github/actions/slack-post/action.ymlthat wraps the Slackchat.postMessageAPIif: failure()) to drift-detection, regenerate-schemas, and release workflows — all post to#agentic-service-alertsComposite action details
The
slack-postaction takeschannel,header, andcontent(Block Kit JSON array) as inputs, withSLACK_TOKENpassed via env. It automatically prepends a header block and repo context, appends a timestamp footer, validates the content is a JSON array, and checks the Slack API response for errors. All inputs are passed through env vars to avoid shell injection.Test plan
drift-detectionviaworkflow_dispatch— should resolve actions and run successfully#agentic-service-alertswith correct formattingregenerate-schemasviaworkflow_dispatchto verify node setup and Slack notificationexit 1before the failure handler, or check next natural failure)